package com.stdspringboot.ctrl;

import com.stdspringboot.vo.JsonResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class NoLoginCtrl {

    @RequestMapping("/noLogin")
    public JsonResult noLogin(){

        JsonResult jr=new JsonResult(JsonResult.CODE_NO_LOGIN,"未登录或登录失效，请重新登录！");

        return jr;
    }
}
